package com.base.cloud.web.service.impl;

import com.base.cloud.web.remoting.TestServiceRemoting;
import com.base.cloud.web.service.TestService;
import com.base.common.spi.entitys.base.JsonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TestServiceImpl implements TestService {

    @Resource
    TestServiceRemoting testServiceRemoting;

    @Override
    public JsonResult<String> echo(String msg) {
        return testServiceRemoting.echo(msg);
    }
}
